package org.aj.common.web.file.config;

import org.aj.common.web.file.bean.FileCheckRule;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * description 配置文件校验规则列表
 *
 * @author jcj
 * date 2022/6/17 10:03
 */
@ConfigurationProperties("aj.web.file")
public class FileCheckRuleProperties {


    private List<FileCheckRule> checkFileRules = new ArrayList<>();


    public void setFileCheckRules(List<FileCheckRule> fileCheckRules) {
        this.checkFileRules = fileCheckRules;
    }

    public List<FileCheckRule> getCheckFileRuleList() {
        return checkFileRules;
    }
}
